package cn.wetcland.urban.admin.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class NoticeUpdateDTO {

    @NotNull(message = "请传入通知ID")
    private Long noticeId;

    /**
     * 公告标题
     */
    @NotBlank(message = "请传入通知标题")
    private String noticeTitle;

    /**
     * 公告内容
     */
    @NotBlank(message = "请传入通知内容")
    private String noticeContent;

    @NotNull(message = "请传入优先级")
    private Integer priority;

    /**
     * 面向群体 0全体 1顾客 2司机
     */
    @NotNull(message = "请传入面向群体")
    private Integer face;

}
